<?php

namespace common\validate;

class Reports extends BaseValidate
{

    public function sceneGetDeliveryPlanNodeTaskIds()
    {
        return $this
            ->append("param", "require|array")
            ->append("param.project_id", "require|integer")
            ->append("param.time_range", "require|array")
            ->append("param.page", "require|array");
    }

    public function sceneGetDeliveredTaskIds()
    {
        return $this
            ->append("param", "require|array")
            ->append("param.project_id", "require|integer")
            ->append("param.time_range", "require|array")
            ->append("param.page", "require|array");
    }

    // 未处理工单数据详情验证类
    public function scenegetUnhandleWorkOrderList()
    {
        return $this
            ->append("param", "require|array")
            ->append("param.project_id", "require|integer")
            ->append("param.time_range", "require|array")
            ->append("param.page", "require|array");
    }

    // 报表-未处理工单数量验证
    public function scenegetUnhandleWorkOrderCount()
    {
        return $this
            ->append("param", "require|array")
            ->append("param.project_id", "require|integer")
            ->append("param.time_range", "require|array");
    }
}
